package com.hhj.sharding.sphere.demo.utils;

/**
 * IdWorkerUtils
 *
 * @Description
 * @Author HHJ
 * @Date 2022-02-28 18:28
 */
public class IdWorkerUtils {
    private static IdWorker worker = new IdWorker(1, 1);

    public static long getId() {
        return worker.nextId();
    }
}
